package com.ruoyi.community.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋对象 cm_building
 *
 * @author HuangRong
 * @date 2023-05-11
 */
public class Building extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long buildingId;

    /** 社区ID */
    @Excel(name = "社区ID")
    private Long communityId;

    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    private String buildingName;

    public void setBuildingId(Long buildingId)
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId()
    {
        return buildingId;
    }
    public void setCommunityId(Long communityId)
    {
        this.communityId = communityId;
    }

    public Long getCommunityId()
    {
        return communityId;
    }
    public void setBuildingName(String buildingName)
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName()
    {
        return buildingName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("buildingId", getBuildingId())
                .append("communityId", getCommunityId())
                .append("buildingName", getBuildingName())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
